﻿namespace RestaurantMenu.Library
{
    public class Alcohol : Drink
    {
        public Alcohol(string drinkName, decimal price, int weight, decimal alcByVolume)
            : base(drinkName, price, weight)
        {
            this.AlcByVolume = alcByVolume;
        }

        public Alcohol(string drinkName, NutritionFacts nutrition, decimal price, int weight, decimal alcByVolume)
            : this(drinkName, price, weight, alcByVolume)
        {
            this.Nutrition = nutrition;
        }

        public override string ToString()
        {
            return string.Format("Drink Name : (Alc) {0,-25}| Price : {1,8:C2}| Weight : {2,3} ml", this.Name, this.Price, this.Weight);
        }
    }
}